<?php
/**
 * Config inspired by Solar 
 */

/**
 * Empty base array.
 */
$config = array();

/**
 * Document root.
 */
$docroot = $_SERVER['DOCUMENT_ROOT'];

/**
 * General ini settings.
 */
$config['Framework']['ini_set'] = array(
//	'error_reporting' => (E_ALL|E_STRICT),
	'display_errors'  => true,
	'html_errors'     => true
);

/**
 * Default database connection.
 */
$config['Framework']['DB'] = 'mysql://root:password@localhost/peopletab';

/**
 * User System
 */
$config['Framework']['User'] = array(
	'userTable' => 'SiteUser',
	'userField' => 'idSiteUser',
	'defaultUser' => 0,
	'userClass' => 'Peopletab'
);
	
/**
 * Anon user
 */
$config['Framework']['DefaultUser'] = array(
	'idSiteUser' => 0,
	'idOwner'	 => null,
	'siteDomain' => null,
	'avatarURL'  => null,
	'userName'   => 'anonymous',
	'blurb'		 => null,
	'dateLastLogin' => null,
	'publicKey'  => null
);

$config['Framework']['Cache'] = array(
	'fullPageCaching' => true,
	'notToPageCache'  => array(
		'Register'
	)
);


/**
 * Install path through the htdoc folder
 * (where index.php is from the directory where you 
 * place your html files), without trailing slash
 */
$config['Framework']['installPath'] = '';

/**
 * 
 * The base path for action URIs.
 * 
 * If you are using the mod_rewrite .htaccess file that comes with
 * this installation, uncomment the "/" line below.  Otherwise,
 * uncomment the "/index.php" line to indicate the location of your 
 * bootstrap file.
 * 
 */
$config['Framework']['actionPath'] = '';
// $config['Framework']['actionPath'] = '/index.php';

$config['Framework']['defaultActionPath'] = '/-/Welcome';



/**
 * Done!
 */
return $config;